package com.amgl.mobike;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

import timber.log.Timber;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Timber.i("on create");
        setContentView(R.layout.activity_main);
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Timber.i("on restart");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Timber.i("on start");
    }

    @Override
    protected void onResume() {
        super.onResume();
        Timber.i("on resume");
    }

    @Override
    protected void onPause() {
        super.onPause();
        Timber.i("on pause");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Timber.i("on stop");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Timber.i("on destroy");
    }

    @Override
    protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        Timber.i("on save instance state");
    }

    @Override
    protected void onRestoreInstanceState(Bundle savedInstanceState) {
        super.onRestoreInstanceState(savedInstanceState);
        Timber.i("on restore instance state");
    }
}
